package P5.T6;

import javax.swing.*;
import java.awt.*;

public class MyJFrame6 extends JFrame {
    public MyJFrame6() {
        setTitle("MyJFrame6");
        setSize(500,500);
        setLayout(new FlowLayout());
        add(new JCheckBox("飞狐外传"));
        add(new JCheckBox("雪山飞狐"));
        add(new JCheckBox("连城诀"));
        setLocationRelativeTo(null);
        setVisible(true);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
}
